package com.lk.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author : lk
 * @date 2021/11/20 16:01
 **/
@Getter
@AllArgsConstructor
public enum CodeEnum {
    OK(0, "处理成功"),
    FAIL(-1, "处理失败"),
    USER_ACCESS_UNAUTHORIZED(401, "没有权限访问"),
    USER_ACCOUNT_UNAUTHENTICATED(403, "鉴权失败");

    private final Integer code;

    private final String message;


}
